<html>
  <head>
      <meta charset="utf-8"/>
<!-- jQuery 引用 -->
<script type="text/javascript"  src="http://apps.bdimg.com/libs/jquery/1.6.4/jquery.min.js"> </script>
</head>

<body>
<p id="message"> Click the button to hide me. </p>

<!-- jQuery 应用 -->
<button type="button" onclick=" $('p').toggle();">Toggle the message</button>

</body>
</html>
